package factory.fromKanYun.StaticFactory;

import factory.fromKanYun.EmailSender;
import factory.fromKanYun.Sender;
import factory.fromKanYun.SmsSender;

/**
 * 静态工厂
 */
public class SendFactory {

    public static Sender produceEmail(){
        return new EmailSender();
    }

    public static Sender produceSms(){
        return new SmsSender();
    }

}
